package com.xnx.bincker.leader.exception;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 系统异常
 */
@JsonIgnoreProperties({"cause", "localizedMessage", "message", "stackTrace", "suppressed"})
public interface SystemException{
    int getCode();
    default String getTip(){return "系统繁忙，请稍后再试";}
    default Object getData(){return null;}
}
